<include file="Public/top" title = "里程密-查看文章" />
        <!-- start left -->
<include file="Public/left"/>
        <div id="page-wrapper" class="gray-bg dashbard-1">
        <!-- start top -->
        <include file="Public/top"/>
        <!-- end top -->
        <div class="row wrapper border-bottom white-bg page-heading">
                <div class="col-lg-10">
                    <h2>查看文章</h2>
                </div>
                <div class="col-lg-2">

                </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>爱我所选，选我所爱，爱里程密，爱生活！</h5>
                        <div class="ibox-tools">
                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li><a href="#">Config option 1</a>
                                </li>
                                <li><a href="#">Config option 2</a>
                                </li>
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>
                        </div>
                    </div>
                    <div class="ibox-content">

                    <table class="table table-striped table-bordered table-hover dataTables-example" >
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>发布作者</th>
                        <th>文章标题</th>
                        <th>所属分类</th>
                        <th>发布时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    
                    <foreach name="text" item="vo" key="k">
                    <tr class="gradeU">
                        <td><{$vo.tid}></td>
                        <td><{$vo.nname}></td>
                        <td><{$vo.tname}></td>
                        <td><{$vo.pname}></td>
                        <td><{$vo.ctime|date = "Y-m-d H:i:s",###}></td>
                        <td><if condition = "$vo.tstatus eq 1"><span style = "color:red;">显示</span><else />隐藏</if></td>
                        
                        <td>
                           <a href="__APP__/Home/Article/index/id/<{$vo.tid}>" target="_blank">查看</a>
                           <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                           <if condition>
                            <a href="__URL__/yincang/id/<{$vo.tid}>" onclick = "return shifou();">隐藏</a>
                            <a href="__URL__/xianshi/id/<{$vo.tid}>" onclick = "return shifou();">显示</a>
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                            <a href="__URL__/delete/id/<{$vo.tid}>" onclick = "return shifou();">回收</a>
                        </td>
                    </tr>
                    </foreach>
                   
                    </tbody>

                    </table>
                     <{$page}>
                    </div>
                </div>
            </div>
            </div>

    <!-- start footer -->
                    <include file="Public/footer" />
    <!-- end footer -->
        </div>
    <!-- Data Tables -->
    <script src="__PUBLIC__/Admin/js/plugins/dataTables/jquery.dataTables.js"></script>
    <script src="__PUBLIC__/Admin/js/plugins/dataTables/dataTables.bootstrap.js"></script>
    <script src="__PUBLIC__/Admin/js/plugins/dataTables/dataTables.responsive.js"></script>
    <script src="__PUBLIC__/Admin/js/plugins/dataTables/dataTables.tableTools.min.js"></script>
